<template>
    <div class="waitAnimation">
        <div v-transfer-dom>
            <loading :show="showLoading||show" :text="content||text"></loading>
        </div>
        <p>无敌</p>
    </div>
</template>
<script>
    import { Loading, Group, TransferDomDirective as TransferDom } from 'vux'

    export default {
        directives: {
            TransferDom
        },
        components: {
            Loading,
            Group,
        },
        props:["showLoading","content"],
        data() {
            return {
                show: true,
                text: '疯狂计算中'
            }
        },
        methods: {
            
        }
    }
</script>
<style scoped>
.waitAnimation{
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(71, 71, 71, 0.733);
}
.weui-toast{
    position: absolute;
    top: 60%;
    left:50%;
    transform: translate(-50%,-50%);
}
</style>